<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <h:outputStylesheet library="css" name="default.css" />
        <h:outputStylesheet library="css" name="cssLayout.css" />
<!-- why this doesn't work ?         
        <link href="./../../resources/css/default.css" rel="stylesheet" type="text/css" />
        <link href="./../../resources/css/cssLayout.css" rel="stylesheet" type="text/css" />
-->
        <title>Facelets Template</title>
    </h:head>

    <h:body>

        <div id="top">
            <ui:insert name="top">Gomezki page</ui:insert>
        </div>
        <div>
            <div id="left">
                <ui:insert name="left">
                    <h:form>
                        <h:dataTable value="#{MenuBean.labs}" var="lab">
                            <h:column>
                                <f:facet name="header">
                                    <p><h:outputText value="Menu" /></p>
                                    <h:link outcome="index" value="Main Page" />          
                                </f:facet>
                                <h:link outcome="#{lab.name}">
                                    <h:outputText value="#{lab.name}"/>
                                </h:link>  
                            </h:column>
                        </h:dataTable>
                    </h:form>
                </ui:insert>
            </div>
            <div id="content" class="left_content">
                <ui:insert name="content">Content</ui:insert>
            </div>
        </div>
<!--        <div id="bottom">
            <ui:insert name="bottom">Created by Mariusz Gomse</ui:insert>
        </div>-->

    </h:body>

</html>
